@rem first, we need to unregister the smart tag with Office

regedt32 /s UnRegWordReporterST.reg

@rem next, we need to remove the security policy that allowed the code to be loaded
@rem - polchgprompt - Enables or disables the prompt that is displayed whenever Caspol.exe is run using an option that would cause policy changes.
@rem - remgroup - removes code group\fulltrust from the dir location

CD %windir%\microsoft.net\framework\v1.1.4322

caspol.exe -polchgprompt off -user -remgroup  "WordReporter Smart Tag"
caspol.exe -polchgprompt on
@rem Pause